package com.ktjy.crm.service;

import com.ktjy.crm.model.Right;
import com.ktjy.crm.model.Role;

import java.util.List;


public interface RightService {
    // 增删改查
    public int insert(Right right);

    public int delete(String id);

    public int update(Right right);

    public Right get(String id);

    public List<Right> findAll();

    public Role getRoleWithRights(Long roleId);
}


